package com.hyst.apicontroller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value="MaterialData",description = "物料数据接口")
@RestController
@RequestMapping(value="MaterialData")
public class MaterialController {

	
	@ApiOperation(value = "物料数据-现有物料清单")
	@GetMapping("MaterialData")
	public String getMaterial() {
		return "";
	}
	
	@ApiOperation(value = "物料数据-型号所需物料")
	@GetMapping("Product-MaterialData")
	public String getMaterialByProducts() {
		return "";
	}
	
	@ApiOperation(value = "物料数据-增加物料")
	@PostMapping("Add-MaterialData")
	public String addMaterialData() {
		return "";
	}
}
